package com.orphan.supplier.service.impl;

import com.orphan.supplier.po.Suppliergoods;
import com.orphan.supplier.mapper.SuppliergoodsMapper;
import com.orphan.supplier.service.ISuppliergoodsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zjm
 * @since 2021-07-14
 */
@Service
public class SuppliergoodsServiceImpl extends ServiceImpl<SuppliergoodsMapper, Suppliergoods> implements ISuppliergoodsService {
    @Resource
    SuppliergoodsMapper suppliergoodsMapper;
    @Override
    public void addGoods(Suppliergoods suppliergoods) {
        suppliergoodsMapper.insert(suppliergoods);
    }

    @Override
    public void addgoods(Suppliergoods suppliergoods) {
        suppliergoodsMapper.addgoods(suppliergoods);
    }
}
